From f9afb49240ee10fbb7cd50e7eb50ae6c7005c361 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 21 Apr 2006 09:14:07 +0100 Subject: [PATCH] Fix python installation on sles10. Install prefix is being passed along for some reason, so we explicitly redefine it to nothing. Signed-off-by: Ryan Grimm --- tools/pygrub/Makefile | 2 +- tools/python/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index 75bf46bc83..fab70ffc30 100644 --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -11,7 +11,7 @@ build: .PHONY: install ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" else install: all CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" diff --git a/tools/python/Makefile b/tools/python/Makefile index b3e404cb9f..e73d624414 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -11,7 +11,7 @@ build: .PHONY: install ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --force + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --force else install: all CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force -- 2.30.2